﻿using System;
using System.Collections.Generic;
using System.Text;

namespace videoPlayer
{
    public abstract class PlayScreenBuilder
    {
        videoPlayer videoPlayer = new videoPlayer();

        public void buildMenu()
        {
            videoPlayer.Menu = "菜单";
        }
        public void buildPlayList()
        {
            videoPlayer.PlayList = "播放列表";
        }
        public void buildFavoriteList()
        {
            videoPlayer.FavoriteList = "这个是收藏列表";
        }
        public void mainWindow()
        {
            videoPlayer.MainWindow = "这个是主窗口";
        }
        public void buildControlBar()
        {
            videoPlayer.ControlBar = "这个是个控制条";
        }
        
        public virtual bool isBuildMenu() => false;
        public virtual bool isBuildbuildPlayList() => false;
        public virtual bool isBuildFavoriteList() => false;

        public videoPlayer GetVideoPlayer()
        {
            return videoPlayer;
        }
       

    }
}
